package com.interesting.examsystem.common.constant;

/**
 * @author ：ZXY
 * @date ：Created in 2021/2/22 15:05
 * @description：常量类
 * @modified By：`
 * @version: 1.0
 */
public class RestConstant {

    public static final String CONTENT_TYPE_JSON = "application/json";
    public static final String CHARSET_UTF_8 = "charset=utf-8";
    public static final String VERSION_V1 = "v1";
    public static final String TOKEN = "token";
    public static String X_ACCESS_TOKEN = "Authorization";

    /**
     * token 密钥
     */
    public static final String SECRET_KEY = "29320879350b43c0b0a5825e7b2d407c";

    /**
     * token 密钥过期时长     时间(秒)
     */
    public static final long EFFECTIVE_TIME = 60 * 60 * 60;

}
